package com.example.ssm.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: dang
 * @Description: TODO
 * @Date: 2023/12/7 16:48 星期四
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageInfoMy {
    private Integer pageNum;
    private Integer pageSize;
    private Integer start;
    public void getStartContect(){
        this.start = (this.pageNum-1)*this.pageSize;
    }
}
